<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
静态资源
<button onclick="myclick();">按钮</button>
</body>
<script src="webjars/jquery/3.5.1/jquery.js">
</script>
<script>
    function myclick() {
        $.ajax("hello", {
            method: "GET",
            success: function (data) {
                console.log(data);
            },
            error: function (error) {
                console.log("Error:", error);
            }
        });
    }
</script>
</html>